/**
 * 
 */
package org.perfect.batch;

/**
 * @author billmse
 *
 */
public interface BatchConstants {
	
	String BATCH_TASK_SCHEDULER_NAME = "customizedTaskScheduler";
	String BATCH_TASK_EXECUTOR_NAME = "customizedTaskExecutor";
	
	String BATCH_LAUNCH_TIME = "batch.launchTime";
	String BATCH_LAUNCH_TIME_FORMAT = "yyyyMMddHHmmssSSS";
	
	String BATCH_SERVICE_EXCEPTION_CODE = "-1";
	String BATCH_SERVICE_NO_JOB_CODE = "0";
	
	String BATCH_SLEEP_INTERVAL = "batch.sleepInterval";
	Long BATCH_SLEEP_INTERVAL_DEFAULT = 1000L;
	
	String BATCH_PARTITION_SLAVE_STEP_NAME_SEPARATOR = ":";
	String BATCH_PARTITION_KEY_PREFIX = "partition_";
	String BATCH_PARTITION_LOGIC_TABLE_NAME = "logicTableName";
	String BATCH_PARTITION_DATASOURCE_NAME = "dataSourceName";
	String BATCH_PARTITION_TABLE_NAME = "tableName";

}
